import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyDemo from '@/components/MyDemo'
import Dragger from '@/components/dragger'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/MyDemo',
      name: 'MyDemo',
      component: MyDemo
    },
    {
      path: '/dragger',
      name: 'Dragger',
      component: Dragger
    },
  ]
})
